Skip to content

fix(compose-tool): Calculate peer port considering learner nodes differences#9507

Merged
mangalaman93 merged 1 commit intomainfrom
matthewmcneely/fix-compose-tool-for-learner-nodes
Oct 1, 2025
Merged

fix(compose-tool): Calculate peer port considering learner nodes differences#9507
mangalaman93 merged 1 commit intomainfrom
matthewmcneely/fix-compose-tool-for-learner-nodes

Conversation

@matthewmcneely
Copy link
Copy Markdown
Contributor

Description

This PR changes how the compose tool calculates the port for zero1. It now combines the zeroBasePort (5080) with the opts.PortOffset (default 100) to get the correct peer port (5180). Previously, this calculation was incorrect, causing learner nodes to try and connect to zero1 on the wrong port.

Checklist

  • Code compiles correctly and linting passes locally

@matthewmcneely matthewmcneely requested a review from a team September 30, 2025 18:16
@github-actions github-actions Bot added the go Pull requests that update Go code label Sep 30, 2025
@mangalaman93 mangalaman93 merged commit 6b9b4e8 into main Oct 1, 2025
14 checks passed
@mangalaman93 mangalaman93 deleted the matthewmcneely/fix-compose-tool-for-learner-nodes branch October 1, 2025 05:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go Pull requests that update Go code

Development

Successfully merging this pull request may close these issues.

2 participants